package tjut.opp.testI15;

import java.util.Scanner;

public class SortTest {

	public static void main(String[] args) {
		int x,y,z,t;
		Scanner input=new Scanner(System.in);
		System.out.println("输入X：");
		x=input.nextInt();
		System.out.println("输入Y：");
		y=input.nextInt();
		System.out.println("输入Z：");
		z=input.nextInt();
		if(x>y){
			t=x;
			x=y;
			y=t;
		}
		if(x>z){
			t=x;
			x=z;
			z=t;
		}
		if(y>z){
			t=y;
			y=z;
			z=t;
		}
		System.out.println(x+" "+y+" "+z);
	}

}
